//
//  TIMAddFriendCell.m
//  Demo_sdk
//
//  Created by Deli Xia on 2018/6/30.
//  Copyright © 2018年 Deli Xia. All rights reserved.
//

#import "TIMAddFriendCell.h"
#import "TIMDemoMacro.h"

@implementation TIMAddFriendCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self configUI];
    }
    return self;
}

- (void)configUI
{
    [self.contentView addSubview:self.searchImgView];
    [self.contentView addSubview:self.SearchLab];
}

- (UIImageView *)searchImgView
{
    if (!_searchImgView) {
        _searchImgView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, 32, 32)];
        _searchImgView.image = [UIImage imageNamed:@"GroupSearch_icon"];
        
    }
    return _searchImgView;
}

- (UILabel *)SearchLab
{
    if (!_SearchLab) {
        _SearchLab = [[UILabel alloc] initWithFrame:CGRectMake(52, 0, Screen_Width - 62, 52)];
        _SearchLab.font = TPSFontSize(14);
        _SearchLab.textColor = RGBColor(93, 153, 241);
    }
    return _SearchLab;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}


@end
